<#include "../../common/header.htm">
<div class="content-wrapper" style="height:100%;">
    <section class="content" style="height:100%;">
        <div class="row tranrow" style="height:100%;">
            <div class="watnav-content" style="height:100%;display:flex;flex-direction: column;">
                <div class="watnav">
                    <ul class="nav nav-tabs">
                        <li role="presentation" class="active"><a href="#">资金交易时的通话分析</a></li>
                        <li role="presentation"><a href="#">通话时的资金交易分析</a></li>
                    </ul>
                </div>
                <iframe name="accountStatistics" id="main" style="flex:1;" class="iframe-wrap" src="${ctx}/bill/multipleData/zijin" frameborder="0" scrolling="no"></iframe>
            </div>
        </div>
    </section>
</div>

<script>
    function _checkedCallback() {
        accountStatistics.window._checkedCallback(parent._checkedAccount)
    }
    var caseId=parent.caseId;
    $(function(){
        $(".watnav li").click(function() {
            $(this).siblings('li').removeClass('active');
            $(this).addClass('active');
        });
        $(".watnav li").click(function() {
            var index =$(this).index();
            console.log(index)
            if(index == 0){
                $(".iframe-wrap").prop("src","${ctx}/bill/multipleData/zijin");
            }
            if(index == 1){
                $(".iframe-wrap").prop("src","${ctx}/bill/multipleData/tonghua");
            }
        })
    });
</script>

<style>
    .tab .nav-tabs li.active a {
        border: 0 none;
        background:#e67e22;
        color: #fff;
    }
    .watnav {
        background-color: white;
        margin-right: 4px;
        padding-left: 10px;
        width: 100%;
        margin-left:15px;
    }
    .tranrow{
        width: 100%;
    }
    .nav-tabs {
        margin-right: 10px;
    }
    .watnav li a{
        color: #555555;
    }
    .iframe-wrap{
        height: 100%;
        width: 100%;
        margin-left:15px;
    }
    body.pace-done {
        padding: 0!important;
    }
</style>